cmake_minimum_required(VERSION 3.5.1)
project(bezier)

find_package(Eigen3 REQUIRED)
find_package(catkin REQUIRED COMPONENTS
        roscpp
        std_msgs
        )

catkin_package(
        INCLUDE_DIRS include
        LIBRARIES bezier
        CATKIN_DEPENDS roscpp std_msgs
)

set(CMAKE_CXX_FLAGS "-std=c++11 ${CMAKE_CXX_FLAGS} -O3 -Wall")

include_directories(
        include
        ${catkin_INCLUDE_DIRS}
)

add_library(bezier
        src/bezier_base.cpp
        )

target_link_libraries(bezier
        ${catkin_LIBRARIES} )